module.exports = {
  plugins: {
    autoprefixer: {
      overrideBrowserslist: ['Android >= 4.0', 'iOS >= 8'],
    },
    'postcss-pxtorem': {
      rootValue ({ file }) {
        if (file.indexOf('/mobile/') != -1 || file.indexOf('/vant/') != -1) {
          return 37.5;
        }

        return 16;
      },
      propList: ['*'],
      selectorBlackList: ['ant', 'iwf', 'nav', 'menus', 'menu-icon']
    }
  }
};